﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AmendSer.ascx.cs" Inherits="Team4Mock.UserControl.Service.AmendSer" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Panel ID="pnAmend" runat="server" Width="755px">
    <h3>
        Service Details</h3>
    <div style="width: 757px;">
        <ul class="tabs" style="width: 760px; float: left;">
            <li><a href="#Details1" class="tab">Details1</a></li>
            <li><a href="#Details2" class="tab">Details2</a></li>
            <li><a href="#Details3" class="tab">Details3</a></li>
            <asp:Label runat="server" ID="lbdiv"></asp:Label>
            <li><a href="#Org" class="tab">Organisation</a></li>
            <li><a href="#Premise" class="tab">Premises</a></li>
        </ul>
        <br />
        <div class="tab_container">
            <div id="Details1" class="tab_content">
                <table width="760px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                    <tr>
                        <td class="style1">
                            Service Name <span style="color: Red;">(*)</span>
                        </td>
                        <td class="style9">
                            <asp:TextBox ID="txtSerName" runat="server" Width="186px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            Service Active
                        </td>
                        <td class="style6">
                            <asp:CheckBox ID="ckActive" Checked="true" Enabled="false" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            Service Short Description <span style="color: Red;">(*)</span>
                        </td>
                        <td class="style13">
                            <asp:TextBox ID="txtShortDes" runat="server" TextMode="MultiLine" Height="63px" Width="186px"
                                Style="margin-left: 0px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            Service Full Description
                        </td>
                        <td>
                            <asp:TextBox ID="txtDesFull" runat="server" Height="63px" Style="margin-left: 0px"
                                TextMode="MultiLine" Width="186px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style36">
                            Lead Contact
                        </td>
                        <td class="style7">
                            <input type="text" id="Name" readonly="readonly" style="width: 104px" />
                            <input type="hidden" id="id" />
                            &nbsp;&nbsp; <a href="#" onclick="PopupContact();return false;">Lookup</a>
                            <asp:HiddenField ID="hdContact" runat="server" />
                        </td>
                        <td class="style37">
                            Dept Code <span style="color: Red;">(*)</span>
                        </td>
                        <td class="style7">
                            <asp:TextBox ID="txtDeptCode" runat="server" Width="185px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style29">
                            Sub Type
                        </td>
                        <td class="style31">
                            <asp:DropDownList ID="dlSubType" AutoPostBack="true" runat="server" Width="190px"
                                OnSelectedIndexChanged="dlSubType_SelectedIndexChanged">
                                <asp:ListItem Value="Normal">Normal</asp:ListItem>
                                <asp:ListItem Value="Contract">Contract</asp:ListItem>
                                <asp:ListItem Value="Funding">Funding</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="style30">
                            Service Type <span style="color: Red;">(*)</span>
                        </td>
                        <td class="style31">
                            <asp:DropDownList ID="dlSerType" runat="server" Width="190px">
                                <asp:ListItem Value="Service Type 1">Service Type 1</asp:ListItem>
                                <asp:ListItem Value="Service Type 2">Service Type 2</asp:ListItem>
                                <asp:ListItem Value="Service Type 3">Service Type 3</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            Client Description
                        </td>
                        <td>
                            <asp:TextBox ID="txtClientDes" TextMode="MultiLine" runat="server" Width="186px"
                                Height="46px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            Service Description Delivery
                        </td>
                        <td>
                            <asp:TextBox ID="txtDesDelivery" runat="server" Height="46px" TextMode="MultiLine"
                                Width="186px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style32">
                            Service Attendance
                        </td>
                        <td class="style14">
                            <asp:DropDownList ID="dlAttendannce" runat="server" Width="190px">
                                <asp:ListItem Value="Attendannce 1">Attendannce 1</asp:ListItem>
                                <asp:ListItem Value="Attendannce 2">Attendannce 2</asp:ListItem>
                                <asp:ListItem Value="Attendannce 3">Attendannce 3</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="style33">
                            Service Contact Code
                        </td>
                        <td class="style14">
                            <asp:TextBox ID="txtContactCode" runat="server" Width="185px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style34">
                            Service Start Expected
                        </td>
                        <td class="style10">
                            <asp:TextBox ID="txtStartExp" runat="server" ReadOnly="true" Width="186px"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd/MM/yyyy" TargetControlID="txtStartExp">
                            </cc1:CalendarExtender>
                        </td>
                        <td class="style35">
                            Service Contact Value
                        </td>
                        <td class="style10">
                            <asp:TextBox ID="txtContactValue" runat="server" Width="185px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style36">
                            Service Start Date
                        </td>
                        <td class="style7">
                            <asp:TextBox ID="txtStartDate" runat="server" ReadOnly="true" Width="186px"></asp:TextBox>
                            <cc1:CalendarExtender ID="Calendar" runat="server" Format="dd/MM/yyyy" TargetControlID="txtStartDate">
                            </cc1:CalendarExtender>
                        </td>
                        <td class="style37">
                            Contact Staged Payment
                        </td>
                        <td class="style7">
                            <asp:CheckBox ID="ckStagedPayment" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style38">
                            Service End Date
                        </td>
                        <td class="style39">
                            <asp:TextBox ID="txtEndDate" runat="server" ReadOnly="true" Width="186px"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender2" runat="server" Format="dd/MM/yyyy" TargetControlID="txtEndDate">
                            </cc1:CalendarExtender>
                        </td>
                        <td class="style40">
                            Referral Process Method
                        </td>
                        <td class="style39">
                            <asp:DropDownList ID="dlProcessMethod" runat="server" Width="186px">
                                <asp:ListItem Value="Method 1">Method 1</asp:ListItem>
                                <asp:ListItem Value="Method 2">Method 2</asp:ListItem>
                                <asp:ListItem Value="Method 3">Method 3</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            Service Extendable
                        </td>
                        <td>
                            <asp:CheckBox ID="ckExtandable" AutoPostBack="false" runat="server"/>
                        </td>
                        <td class="style2">
                            Service Time Limited
                        </td>
                        <td>
                            <asp:CheckBox ID="ckTimeLimited" AutoPostBack="false" runat="server"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            &nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="txtExtenYear" runat="server" Enabled="true" Width="39px"></asp:TextBox>
                            &nbsp;Year
                            <asp:TextBox ID="txtExtenMonth" Enabled="true" runat="server" Width="43px"></asp:TextBox>
                            &nbsp;Months
                        </td>
                        <td class="style2">
                            &nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="txtLimitedYear" Enabled="true" runat="server" Width="35px"></asp:TextBox>
                            &nbsp;Year
                            <asp:TextBox ID="txtLimitedMonth" runat="server" Enabled="true" Width="38px"></asp:TextBox>
                            &nbsp;Months
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="tab_container">
            <div id="Details2" class="tab_content">
                <table width="760px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                    <tr>
                        <td width="200px" style="border-bottom: 1px solid #cccccc;">
                            Service Benefits Criterion
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clBenefit" runat="server" Width="190px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td width="180px" style="border-bottom: 1px solid #cccccc;">
                            Service Disability Criterion
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clDisability" runat="server" Width="154px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td width="200px" style="border-bottom: 1px solid #cccccc;">
                            Service Barriers Criterion
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clBarriers" runat="server" Width="190px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td width="180px" style="border-bottom: 1px solid #cccccc;">
                            Service Personal Circumstances Criterion
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clPersonalCri" runat="server" Style="margin-left: 0px" Width="154px"
                                Height="100px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td width="200px" style="border-bottom: 1px solid #cccccc;">
                            Service Ethnicity Criterion
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clEthnic" runat="server" Style="margin-left: 0px" Width="190px"
                                Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td width="180px" style="border-bottom: 1px solid #cccccc;">
                            Other Serivce Participation Crirterion
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clParticiCri" runat="server" Style="margin-left: 0px" Width="154px"
                                Height="100px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="tab_container">
            <div id="Details3" class="tab_content">
                <table width="760px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                    <tr>
                        <td style="border-bottom: 1px solid #cccccc;" class="style41">
                            Client Support Process
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style43">
                            <asp:CheckBoxList ID="clSupportProcess" runat="server" Width="190px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style44">
                            Client Outcome
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clClientOutCome" runat="server" Width="154px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td style="border-bottom: 1px solid #cccccc;" class="style41">
                            Intervention
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style43">
                            <asp:CheckBoxList ID="clIntervention" runat="server" Width="190px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style44">
                            Target Client
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clTargetClient" runat="server" Style="margin-left: 0px" Width="154px"
                                Height="100px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td style="border-bottom: 1px solid #cccccc;" class="style41">
                            Client Jourrey
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style43">
                            <asp:CheckBoxList ID="clClientJourrey" runat="server" Style="margin-left: 0px" Width="190px"
                                Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style44">
                            Accreditations
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clClientAcc" runat="server" Style="margin-left: 0px" Width="154px"
                                Height="100px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td style="border-bottom: 1px solid #cccccc;" class="style41">
                            Other Services
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style43">
                            <asp:CheckBoxList ID="clOtherService" runat="server" Style="margin-left: 0px" Width="190px"
                                Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style44">
                            Referral Source
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:CheckBoxList ID="clRefSource" runat="server" Style="margin-left: 0px" Width="154px"
                                Height="100px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td style="border-bottom: 1px solid #cccccc;" class="style41">
                            Support Centres
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style43">
                            <asp:CheckBoxList ID="clSupportCenter" runat="server" Style="margin-left: 0px" Width="190px"
                                Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;" class="style44">
                            Programme
                        </td>
                        <td style="border-bottom: 1px solid #cccccc;">
                            <asp:DropDownList runat="server" ID="dlProgram" DataTextField="ProgramName" DataValueField="ProgramID"
                                Width="175px" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="tab_container">
            <div id="Contract" class="tab_content">
                <table width="760px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                    <tr>
                        <td width="200px">
                            Contract OutCome
                        </td>
                        <td>
                            <asp:CheckBoxList ID="clContractOutCome" runat="server" Style="margin-left: 0px"
                                Width="190px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td width="180px">
                            Contract Obligation
                        </td>
                        <td>
                            <asp:CheckBoxList ID="clContractObligation" runat="server" Style="margin-left: 0px"
                                Width="154px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Participation
                        </td>
                        <td>
                            <asp:DropDownList runat="server" ID="dlParticipation" Width="160px">
                                <asp:ListItem>Mandatory</asp:ListItem>
                                <asp:ListItem>Voluntary</asp:ListItem>
                                <asp:ListItem>Both</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="tab_container">
            <div id="Funding" class="tab_content">
                <table width="760px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                    <tr>
                        <td colspan="4" class="style3">
                            <b>General</b>
                        </td>
                    </tr>
                    <tr>
                        <td class="style22">
                            Funding Source
                        </td>
                        <td class="style3">
                            <asp:DropDownList runat="server" CssClass="textbox" ID="dlFundingSource">
                                <asp:ListItem Value="Funding Source 1">Funding Source 1</asp:ListItem>
                                <asp:ListItem Value="Funding Source 2">Funding Source 2</asp:ListItem>
                                <asp:ListItem Value="Funding Source 3">Funding Source 3</asp:ListItem>
                                <asp:ListItem Value="Funding Source 4">Funding Source 4</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="style15">
                            Funding Needs
                        </td>
                        <td class="style3">
                            <asp:TextBox runat="server" CssClass="textbox" ID="txtFunNeeds"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style23">
                            Funding Contact Details
                        </td>
                        <td class="style4">
                            <input type="text" id="MediaName" readonly="readonly" style="width: 104px" />
                            <input type="hidden" id="hdMedia" />
                            &nbsp;&nbsp; <a href="#" onclick="PopupMedia();return false;">Lookup</a>
                            <asp:HiddenField ID="idMediaContact" runat="server" />
                        </td>
                        <td class="style16">
                            Funding Continuation Needed
                        </td>
                        <td class="style4">
                            <asp:CheckBox ID="ckFunContiNeed" AutoPostBack="false" runat="server"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="style24">
                            Funding Amount (*)
                        </td>
                        <td class="style5">
                            <asp:TextBox ID="txtFunAmount" CssClass="textbox" runat="server"></asp:TextBox>
                        </td>
                        <td class="style17">
                            Funding Continuation Amount
                        </td>
                        <td class="style5">
                            <asp:TextBox ID="txtFunContiAmount" CssClass="textbox" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style25">
                            Funding Start
                        </td>
                        <td class="style7">
                            <asp:TextBox ID="txtFunStart" CssClass="textbox" runat="server"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender3" runat="server" Format="dd/MM/yyyy" TargetControlID="txtFunStart">
                            </cc1:CalendarExtender>
                        </td>
                        <td class="style18" rowspan="2">
                            Funding Continuation Details
                        </td>
                        <td rowspan="2">
                            <asp:TextBox ID="txtFunConDetails" CssClass="textbox" runat="server" TextMode="MultiLine"
                                Width="172px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style22">
                            Funding End
                        </td>
                        <td class="style3">
                            <asp:TextBox ID="txtFunEnd" CssClass="textbox" runat="server"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender4" runat="server" Format="dd/MM/yyyy" TargetControlID="txtFunEnd">
                            </cc1:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" class="style6">
                            <b>Funding For Service Project</b>
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="2" class="style28">
                            Fundraising for text
                        </td>
                        <td rowspan="2">
                            <asp:TextBox ID="txtFundaisingText" CssClass="textbox" TextMode="MultiLine" runat="server"
                                Height="52px" Width="181px"></asp:TextBox>
                        </td>
                        <td class="style19">
                            Fundraising Needs
                        </td>
                        <td class="style10">
                            <asp:TextBox ID="txtFundaisingNeed" CssClass="textbox" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style20">
                            Fundraising Required By
                        </td>
                        <td class="style11">
                            <asp:TextBox ID="txtFundaisingRequiBy" CssClass="textbox" runat="server"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender5" runat="server" Format="dd/MM/yyyy" TargetControlID="txtFundaisingRequiBy">
                            </cc1:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="2" class="style28">
                            Fundraising why
                        </td>
                        <td rowspan="2">
                            <asp:TextBox ID="txtFundaisingWhy" CssClass="textbox" TextMode="MultiLine" runat="server"
                                Height="54px"></asp:TextBox>
                        </td>
                        <td class="style15">
                            Fundraising Complete
                        </td>
                        <td class="style3">
                            <asp:CheckBox ID="ckFundaisingComplete" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style19">
                            Fundraising Complete Date
                        </td>
                        <td class="style10">
                            <asp:TextBox ID="txtFundaisingCompleDate" CssClass="textbox" runat="server"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender6" runat="server" Format="dd/MM/yyyy" TargetControlID="txtFundaisingCompleDate">
                            </cc1:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" class="style12">
                            <b>Fundraising Donor</b>
                        </td>
                    </tr>
                    <tr>
                        <td class="style27">
                            Fundraising Donor Anonymous
                        </td>
                        <td class="style10">
                            <asp:CheckBox ID="ckFundaisingDonorAnon" runat="server" />
                        </td>
                        <td class="style19">
                            Fundraising Donation Date
                        </td>
                        <td class="style10">
                            <asp:TextBox ID="txtFundaisingDonationDate" CssClass="textbox" runat="server"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender7" runat="server" Format="dd/MM/yyyy" TargetControlID="txtFundaisingDonationDate">
                            </cc1:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td class="style24">
                            Fundraising Donor Amount
                        </td>
                        <td class="style5">
                            <asp:TextBox ID="txtFundaisingDonoAmount" CssClass="textbox" runat="server"></asp:TextBox>
                        </td>
                        <td class="style17">
                            Fundraising Donation Incrementai
                        </td>
                        <td class="style5">
                            <asp:CheckBox ID="ckFundaisingDonaIncrement" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="tab_container">
            <div id="Org" class="tab_content">
            </div>
        </div>
        <div class="tab_container">
            <div id="Premises" class="tab_content">
            </div>
        </div>
    </div>
    <asp:Button ID="btnSave" runat="server" Text="Save" CssClass="button" OnClientClick="getValueHidden()"
        OnClick="btnSave_Click" />
    <asp:Button ID="btnBack" runat="server" Text="Back" CssClass="button" OnClick="btnBack_Click" /><br />
    <p style="width: 100%; background-color: lavender; line-height: 25px;">
        <asp:Label ID="Label2" runat="server"></asp:Label>
    </p>
</asp:Panel>